package com.example.springbootlistener.config;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @program: springboot1
 * @description:
 * @author: zhanghz001
 * @create: 2020-12-09 14:13
 **/
@Component
public class MyApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("-------------MyApplicationRunner...run...");
    }
}
